#ifndef _GPIODEF_H_
#define _GPIODEF_H_

enum
{
	HIGH_Z						= 0,					
	INPUT						= 1,          
	OUTPUT						= 2, 
 	
	PU_EN						= 0x80,
	PD_EN						= 0x40,
	OP_EN						= 0x20,	

	P02_T0_SETTING				= 1,        
	P03_T1_SETTING				= 1, 
	
	P00_PWM2_SETTING			= 3,
	P01_PWM3_SETTING			= 3,
	P02_PWM0_SETTING			= 3,
	P03_PWM1_SETTING			= 3,
	P04_PWM2_SETTING			= 3,
	P05_PWM3_SETTING			= 3,
	
	P00_TK0_SETTING				= 4,
	P01_TK1_SETTING				= 4,
	P02_TK2_SETTING				= 4,
	P03_TK3_SETTING				= 4,
	P04_TK4_SETTING				= 4,
	P05_TK5_SETTING				= 4,
  
	P01_I2C_SDA_SETTING			= 5,
	P02_I2C_SCL_SETTING			= 5,
		
	P01_UART1_TX_SETTING		= 6,			
	P02_UART1_RX_SETTING		= 6,

    P00_LVD_IN0_SETTING         = 6,
    P03_LVD_IN1_SETTING         = 6,        
};	

#define  GPIO_Init(reg,val)	reg = val


/******************************************************************************/

#endif
